<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>

    <link rel="stylesheet" href="/static/bootstrap-3.3.7/css/bootstrap.min.css">
    <style>
        .container_top{
            margin-top: 100px;
        }
    </style>
</head>
<body>
<div class="container container_top">
    <div class="row">
        <div class="col-sm-6 col-sm-offset-3 col-md-4 col-md-offset-4">
            <div class="panel panel-primary">
                <div class="panel-heading">
                    <h2 class="my_center">请输入用户名和密码</h2>
                    <p class="my_center">Enter your username and password to log on:</p>
                </div>
                <div class="panel-body">
                    <form action='' method="post">
                        {% csrf_token %}
                        <div class="form-group">
                            <label for="user">用户：</label>
                            <input type="text" name="user" class="form-control">
                        </div>

                        <div class="form-group">
                            <label for="pwd">密码：</label>
                            <input type="password" name="pwd" class="form-control">
                        </div>

                        <div class="form-group" style="margin-top: 2em">
                            <input type="submit" class=" btn btn-info btn-block btn3d login_btn" value="Login">
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>


</body>
</html>